#include "CLog.h"
#include <iostream>
const char * GetFileName( const char* path,const char* sep)
{
	const char * temp,* cRet;
	int cnt = 0;
	temp = path;
	cRet = NULL;

	cnt = strlen(path);

	if( NULL == temp)
	{
		return cRet;
	}
	if( NULL == sep )
	{
		return cRet;
	}

	for(int i = 0;i<cnt;i++,temp++)
	{
		if( *temp == *sep )
		{
			cRet = temp + 1;
		}
	}

	return cRet;
}

